package com.springsummer.information.green.hello;

public class TwoService {

    private ThreeService threeService;

    public void sayHello(String name){
        String str="TwoService sayHello "+name;
        System.out.println(str);
        threeService.sayHello(name+":two");
    }

    public ThreeService getThreeService() {
        return threeService;
    }

    public void setThreeService(ThreeService threeService) {
        this.threeService = threeService;
    }

}
